﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ordercrud.aspx.cs" Inherits="Ecreate.Web.systemanage.order.ordercrud" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>销售订单</title>
    <style type="text/css">
        body{margin:0px;text-align:center;}
        .container{width:600px;height:300px;margin:0px;}
        .top{float:left;margin:20px 0px 20px 0px;font-weight:bold;font-size:16px;width:600px;}
        input{text-align:left;width:200px;}
        ul{float:left;list-style:none;margin:0px;width:300px;height:30px;}
        .sep{float:left;list-style:none;margin:0px;clear:both;}
        .l{float:left;margin:0px;width:300px;height:30px;}
        .r{float:right;margin:0px;width:300px;height:30px;}
        .ll{float:left;margin:5px 0px 5px 0px;width:100px;text-align:right;}
        .rr{float:right;margin:0px;width:200px;border-bottom:solid 1px black;height:18px;}
        .lall{float:left;margin:0px;width:600px;height:30px;}
        .rrall{float:right;margin:0px;width:500px;border-bottom:solid 1px black;height:18px;}
        .line{float:left;width:600px;margin:0px;height:30px;font-size:12px;clear:both;}
        .line_r{float:left;width:600px;margin:0px;height:30px;font-size:12px;text-align:right;}
        .btn{width:80px;text-align:center;}
    </style>
    <script type="text/javascript">
        function PrintOrder() {
            document.getElementById("buttons").style.display = "none";
            window.print();
            document.getElementById("buttons").style.display = "block";
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" class="container">
    <div class="top">销售订单</div>
    <div class="line">
        <div class="l">
            <ul>
                <li class="ll">订单编号：</li>
                <li class="rr"><asp:Label ID="txtOrderID" runat="server"></asp:Label></li>
            </ul>
        </div>
        <div class="r">
            <ul>
                <li class="ll">被此订单顶掉：</li>
                <li class="rr"><asp:Label ID="txtKickOrderID" runat="server"></asp:Label></li>
            </ul>
        </div>
    </div>
    <div class="line">
        <div class="l">
            <ul>
                <li class="ll">当前排序：</li>
                <li class="rr"><asp:Label ID="txtSN" runat="server"></asp:Label></li>
            </ul>
        </div>
        <div class="r">
            <ul>
                <li class="ll">被顶掉次数：</li>
                <li class="rr"><asp:Label ID="txtTimes" runat="server"></asp:Label></li>
            </ul>
        </div>
    </div>
    <div class="line">
        <div class="l">
            <ul>
                <li class="ll">产品名称：</li>
                <li class="rr"><asp:Label ID="txtProduct" runat="server"></asp:Label></li>
            </ul>
        </div>
        <div class="r">
            <ul>
                <li class="ll">价格：</li>
                <li class="rr"><asp:Label ID="txtPrice" runat="server"></asp:Label></li>
            </ul>
        </div>
    </div>
    <div class="line">
        <div class="l">
            <ul>
                <li class="ll">销售地址：</li>
                <li class="rr"><asp:Label ID="txtSellAddress" runat="server"></asp:Label></li>
            </ul>
        </div>
        <div class="r">
            <ul>
                <li class="ll">销售电话：</li>
                <li class="rr"><asp:Label ID="txtSellPhoneNumber" runat="server"></asp:Label></li>
            </ul>
        </div>
    </div>
    <div class="line">
        <div class="l">
            <ul>
                <li class="ll">消费者姓名：</li>
                <li class="rr"><asp:Label ID="txtCustName" runat="server"></asp:Label></li>
            </ul>
        </div>
        <div class="r">
            <ul>
                <li class="ll">消费者联系电话：</li>
                <li class="rr"><asp:Label ID="txtCustPhoneNumber" runat="server"></asp:Label></li>
            </ul>
        </div>
    </div>
    <div class="line">
        <div class="line">
            <ul class="line">
                <li class="ll">消费者收件地址：</li>
                <li class="rrall"><asp:Label ID="txtCustAddress" runat="server"></asp:Label></li>
            </ul>
        </div>
    </div>
    <div class="line">
        <div class="l">
            <ul>
                <li class="ll">付款时间：</li>
                <li class="rr"><asp:Label ID="txtPayDate" runat="server"></asp:Label></li>
            </ul>
        </div>
        <div class="r">
            <ul>
                <li class="ll">付款账号：</li>
                <li class="rr"><asp:Label ID="txtPayAccount" runat="server"></asp:Label></li>
            </ul>
        </div>
    </div>
    <div class="sep"></div>
    <div id="buttons" class="line_r">
        <input id="btnPrint" type="button" value="打印" onclick="PrintOrder()" class="btn"/>
        <asp:Button ID="btnCheck" runat="server" Text="付款确认" onclick="btnCheck_Click" cssclass="btn"/>
    </div>
    </form>
</body>
</html>
